package com.abe.abetest.alarm;

import android.os.Bundle;
import android.widget.TextView;

import com.abe.abetest.R;
import com.abe.libbase.base.BaseActivity;

import java.util.Locale;

import butterknife.BindView;

public class AlarmShowActivity extends BaseActivity {
    @BindView(R.id.item_text)
    TextView itemText;

    @Override
    protected int getLayoutRes() {
        return R.layout.activity_show_alarm;
    }

    @Override
    public void init() {
        Bundle bundle = getIntent().getExtras();
        if (bundle != null) {
            String path = bundle.getString("path", "");
            String data = bundle.getString("data", "");
            itemText.setText(String.format(Locale.CHINA, "path:%s\n;data:%s;", path, data));
        }
    }
}